This passes a MovePageForm, which seems unwise. It won't apply to the edit API, and generally seems like a weak interface -- an internal UI object is passed instead of specific information, leaving it unstable to future changes.
* (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
search engine indexing on a per-article basis.
-* Added SpecialMovepageBeforeMove hook to allow extensions to interfere with
- page moves (useful for blacklist-type extensions, for example)
=== Bug fixes in 1.14 ===
$oldTitle: old title (object)
$newTitle: new title (object)
-'SpecialMovepageBeforeMove': Called before moving a page
-&$movePage: MovePageForm object
-
'SpecialPageExecuteAfterPage': called after executing a special page
Warning: Not all the special pages call this hook
$specialPage: SpecialPage object
return;
}
- if( ! wfRunHooks( 'SpecialMovepageBeforeMove', array(&$this) ) ) {
- return;
- }
-
$ot = $this->oldTitle;
$nt = $this->newTitle;